package cn.bdqn.service.check;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import cn.bdqn.dao.check.CheckMapper;
import cn.bdqn.pojo.Check;
@Service
public class CheckServiceImpl implements CheckService {
	@Resource
	private  CheckMapper  checkMapper;
	@Override
	public List<Check> getCheckList() {
		
		return checkMapper.getCheckList();
	}

	@Override
	public int addCheck(Check Check) {
		
		return checkMapper.addCheck(Check);
	}

	@Override
	public int updCheck(Check Check) {
		
		return checkMapper.updCheck(Check);
	}

	@Override
	public int delCheck(Integer id) {
		
		return checkMapper.delCheck(id);
	}

}
